 <script>
function delmn(id)
{
	if(confirm("Bạn có chắc chắn muốn xóa RSS này?"))
		location.href='{$smarty.const.base_admin}?act=add-rssfeed&do=del&id='+id;
}
</script>
 <!-- BEGIN PAGE CONTAINER-->
         <div class="container-fluid">
            <!-- BEGIN PAGE HEADER-->   
            <div class="row-fluid">
               <div class="span12">
                   <!-- BEGIN THEME CUSTOMIZER-->
                   <div id="theme-change" class="hidden-phone">
                       <i class="icon-cogs"></i>
                        <span class="settings">
                            <span class="text">Theme Color:</span>
                            <span class="colors">
                                <span class="color-default" data-style="default"></span>
                                <span class="color-green" data-style="green"></span>
                                <span class="color-gray" data-style="gray"></span>
                                <span class="color-purple" data-style="purple"></span>
                                <span class="color-red" data-style="red"></span>
                            </span>
                        </span>
                   </div>
                   <!-- END THEME CUSTOMIZER-->
                  <!-- BEGIN PAGE TITLE & BREADCRUMB-->
                   <h3 class="page-title">
                     {$nameact}
                   </h3>
                   <ul class="breadcrumb">
                       <li>
                           <a href="#">Home</a>
                           <span class="divider">/</span>
                       </li>
                       <li>
                           <a href="#">Data Table</a>
                           <span class="divider">/</span>
                       </li>
                       <li class="active">
                           Dynamic Table
                       </li>
                       <li class="pull-right search-wrap">
                           <form action="http://thevectorlab.net/metrolab/search_result.html" class="hidden-phone">
                               <div class="input-append search-input-area">
                                   <input class="" id="appendedInputButton" type="text">
                                   <button class="btn" type="button"><i class="icon-search"></i> </button>
                               </div>
                           </form>
                       </li>
                   </ul>
                   <!-- END PAGE TITLE & BREADCRUMB-->
               </div>
            </div>
            <!-- END PAGE HEADER-->
            <!-- BEGIN ADVANCED TABLE widget-->
            <div class="row-fluid">
                <div class="span12">
                <!-- BEGIN EXAMPLE TABLE widget-->
                <div class="widget green">
                    <div class="widget-title">
                        <h4><i class="icon-reorder"></i> {$nameact}</h4>
                            <span class="tools">
                                <a href="javascript:;" class="icon-chevron-down"></a>
                                <a href="javascript:;" class="icon-remove"></a>
                            </span>
                    </div>
					{$msg}<br>
                    <div class="widget-body">
                        <form action="" method="post" class="form-horizontal">
						<div class="control-group">
                                <label class="control-label">ID</label>
                                <div class="controls">
                                    <input type=hidden name="id" value='{$rssfeed.id}'>{$rssfeed.id}
                                </div>
                            </div>
							<div class="control-group">
                                <label class="control-label">URL</label>
                                <div class="controls">
									<input type=hidden name='cur_url' value='{$rssfeed.url}'>
                                    <input type="text" class="span6" name="url" value="{$rssfeed.url}" />
                                </div>
                            </div>
							<div class="control-group">
                                <label class="control-label">Menu</label>
                                <div class="controls">
                                  {$menu}
                                </div>
                            </div>
							<div class="control-group">
                                <label class="control-label">Loại</label>
                                <div class="controls">
                                    <select name=type>
									 {html_options options =$arr_type selected = $rssfeed.type}
									 </select>
                                </div>
                            </div>
							<div class="control-group">
                                <label class="control-label">Hiện</label>
                                <div class="controls">
                                    <input type="checkbox" value="1" name="enable" {if $rssfeed.enable eq '1'} checked=''{/if}>
                                </div>
                            </div>
							
			  <div class="form-actions">
                      <button type="submit" name="save" class="btn blue" value='Lưu RSS'><i class=" icon-ok"></i> Lưu RSS</button>
					  <button type="button" class="btn" onclick="delmn({$rssfeed.id})"><i class=" icon-remove"></i> Xóa RSS</button>
                      <button type="button" class="btn" onclick="location.href='{$smarty.const.base_admin}?act=rssfeed'"><i class="icon-chevron-left"></i> Trở về</button>
                                </div>
		</form>
                    </div>
                </div>
                <!-- END EXAMPLE TABLE widget-->
                </div>
            </div>

            <!-- END ADVANCED TABLE widget-->
         </div>
         <!-- END PAGE CONTAINER-->